package com.ruoyi.common.core.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 用户和角色关联 sys_user_register_dept
 *
 * @author ruoyi
 */
@Data
@Accessors(chain = true)
public class SysUserRegisterDept {

    @TableId(type = IdType.AUTO)
    @Excel(name = "主键ID", cellType = Excel.ColumnType.NUMERIC)
    private Long id;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 科室ID
     */
    private Long registerDeptId;

    /**
     * 科室名称
     */
    private String registerDeptName;
}
